/*
 * @Date: 2023-03-12 13:19:30
 * @LastEditors: Zireael 1193875164@qq.com
 * @LastEditTime: 2023-03-12 13:38:07
 * @FilePath: \A19\backend\src\shared\protocols\Experiment\PtlSubmintExp.ts
 */
import { ObjectId } from "mongodb";
import { BaseRequest, BaseResponse, BaseConf } from "../base";
import { codeAnswer } from "../../types/userExperiments";

export interface ReqSubmintExp extends BaseRequest {
    student?: ObjectId;
    experiment: ObjectId;
    submitTime: Date;
    score: number;
    answers: codeAnswer[];
}

export interface ResSubmintExp extends BaseResponse {
    
}

export const conf: BaseConf = {
    needLogin: true
}